package cn.e2win.base.entity;

import java.math.BigDecimal;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import cn.e2win.biz.sys.Dict;
import cn.e2win.biz.util.StringUtils;

@Entity
@Table(name = "msg")
public class Msg extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

		//编号--结算单
		@Id
		@Basic(optional = false)
		@GeneratedValue(strategy = GenerationType.IDENTITY)
		@Column(name = "id", nullable = false)
		private Integer id;
		
		/**
		 * 消息类型 （微信，短信）
		 */
		@Column(name="msgType")
		private String msgType;
		
		/**
		 * 发送类型，如消费记录， 生日祝福，到期提醒.等
		 */
		private String sendWay;
		
		/**
		 * 发送号码个数
		 */
		private Integer noQty;
		
		
		private String msgText;
		
		/**
		 * 发送状态
		 */
		private String msgStatus;

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public String getMsgType() {
			return msgType;
		}

		public void setMsgType(String msgType) {
			this.msgType = msgType;
		}

		public String getSendWay() {
			return sendWay;
		}

		public void setSendWay(String sendWay) {
			this.sendWay = sendWay;
		}

		public Integer getNoQty() {
			return noQty;
		}

		public void setNoQty(Integer noQty) {
			this.noQty = noQty;
		}


		public String getMsgText() {
			return msgText;
		}

		public void setMsgText(String msgText) {
			this.msgText = msgText;
		}

		public String getMsgStatus() {
			return msgStatus;
		}

		public void setMsgStatus(String msgStatus) {
			this.msgStatus = msgStatus;
		}
		
		
		
}
